<?php

namespace Lowpress\PressExtensionsBundle\Entity;

use Doctrine\ORM\Mapping as ORM,
    Lowpress\PressBundle\Entity\Item,
    Lowpress\PressBundle\Repositories;

/**
 * @ORM\Entity
 * @ORM\Table(name="lowpress_ext_tweet")
 * @ORM\HasLifecycleCallbacks
 */
class Tweet extends Item
{

  /**
   * @ORM\Column(type="string")
   */
  protected $text;

  /**
   * @ORM\Column(type="string")
   */
  protected $from_user;

  /**
   * @ORM\Column(type="string")
   */
  protected $profile_image;

  /**
   * Get text
   *
   * @return string $text
   */
  public function getText()
  {
    return $this->text;
  }

  /**
   * Set text
   *
   * @param string $text
   */
  public function setText($text)
  {
    $this->text = $text;
    return $this;
  }


  /**
   * Get from_user
   *
   * @return string $from_user
   */
  public function getFromUser()
  {
    return $this->from_user;
  }

  /**
   * Set from_user
   *
   * @param string $from_user
   */
  public function setFromUser($from_user)
  {
    $this->from_user = $from_user;
    return $this;
  }


  /**
   * Get profile_image
   *
   * @return string $profile_image
   */
  public function getProfileImage()
  {
    return $this->profile_image;
  }

  /**
   * Set profile_image
   *
   * @param string $profile_image
   */
  public function setProfileImage($profile_image)
  {
    $this->profile_image = $profile_image;
    return $this;
  }

}